// 执行保存按钮
// @Bind #btnsaveDeviceDelete.onClick
!function() {
	var dataSetDeviceDelete = view.get("#dataSetDeviceDelete");
	var action = view.get("#updateActionDeviceDelete");
	action.execute(function(result) {
		dataSetDeviceDelete.flush();
		dorado.MessageBox.alert(result);
	});
};

// 执行删除按钮
// @Bind #btnDeviceDelete.onClick
!function() {
	var dataSetDeviceDelete = this.get("#dataSetDeviceDelete");
	dataSetDeviceDelete.getData("#").remove();
};